package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.OptContent;
import com.aijk.ehm.model.OptContentExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OptContentMapper {
    int countByExample(OptContentExample example);

    int deleteByExample(OptContentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OptContent record);

    int insertSelective(OptContent record);

    List<OptContent> selectByExampleWithBLOBs(OptContentExample example);

    List<OptContent> selectByExample(OptContentExample example);

    OptContent selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OptContent record, @Param("example") OptContentExample example);

    int updateByExampleWithBLOBs(@Param("record") OptContent record, @Param("example") OptContentExample example);

    int updateByExample(@Param("record") OptContent record, @Param("example") OptContentExample example);

    int updateByPrimaryKeySelective(OptContent record);

    int updateByPrimaryKeyWithBLOBs(OptContent record);

    int updateByPrimaryKey(OptContent record);
}